using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// jiushi_zzhuser
    /// </summary>
    [Table("JIUSHI_ZZHUSER")]
    public class jiushiZzhuserEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }

        /// <summary>
        /// 公众号openId
        /// </summary>
        [Column("F_OPENID")]
        [MaxLength(50)]
        public string OpenId { get; set; }

        /// <summary>
        /// 公众号昵称
        /// </summary>
        [Column("F_NICKNAME")]
        [MaxLength(50)]
        public string NickName { get; set; }

        /// <summary>
        /// 用户UserId
        /// </summary>
        [Column("F_UserId")]
        [MaxLength(50)]
        public string UserId { get; set; }
        
        /// <summary>
        /// UUID
        /// </summary>
        [Column("F_UUID")]
        [MaxLength(50)]
        public string Uuid { get; set; }

        /// <summary>
        /// 小程序openid
        /// </summary>
        [Column("F_XCXOPENID")]
        [MaxLength(50)]
        public string XcxOpenId { get; set; }

        /// <summary>
        /// 关注  1：已关注 -1:已取消  0：默认
        /// </summary>
        [Column("F_IsFollow")]
        [MaxLength(50)]
        public int? IsFollow { get; set; }


        /// <summary>
        /// 小程序昵称
        /// </summary>
        [Column("F_XCXNICKNAME")]
        [MaxLength(50)]
        public string XcxNickName { get; set; }

        /// <summary>
        /// 1：推送  0:不推送
        /// </summary>
        [Column("F_TYPE")]
        public int? Type { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("F_CREATORTIME")]
        public DateTime? CreatorTime { get; set; }


        /// <summary>
        /// 取消关注时间
        /// </summary>
        [Column("F_CancelScribeTime")]
        public DateTime? CancelScribeTime { get; set; }

        
    }
}
